import { get, post } from '@/utils/request'

// 获取告警事件状态数据
function getAlarmEventStatus(params) {
  return get('/app/api/security/getAlarmStatus', params)
}
// 获取告警趋势数据
function getAlarmTrend(params) {
  return get('/app/api/security/getAlarmTrend', params)
}
// 获取告警事件TOP5
function getAlarmEventTop5(params) {
  return get('/app/api/security/getAlarmTop5', params)
}
// 获取事件高发区域
function getEventRegion(params) {
  return get('/app/api/security/getAlarmHighIncidenceArea', params)
}
// 获取告警事件列表
function getAlarmEventList(params) {
  return get('/app/api/security/getAlarmEventList', params)
}
// 获取灾害监测点数据
function getDisasterMonitoring(params) {
  return get('/app/api/security/getDisasterMonitoring', params)
}
// 获取灾害监测告警
function getDisasterMonitoringAlarm(params) {
  return get('/app/api/security/getDisasterMonitoringAlarm', params)
}
// 获取灾害监测点处理状态数据
function getDisasterMonitoringStatus(params) {
  return get('/app/api/security/getDisasterMonitoringStatus', params)
}
// 获取地图点信息
function getMapData(params) {
  return get('/app/api/security/getAlarmTrend', params)
}
//获取区域坐标
function getRegion(params) {
  return get('/app/api/webConfig/getMapElectronicFence', params)
}
// 获取SOS报警柱点位
function getAlarmColumn(params) {
  return get('/app/api/security/getAlarmColumn', params)
}
// 获取安保人员点位
function getSecurityPerson(params) {
  return get('/app/api/security/getSecurityPerson', params)
}
// 获取监控点位列表
function getVideoList(params) {
  return get('/app/api/security/getVideoList', params)
}
// 获取地图配置信息
function getPageConfig(params) {
  return get('/app/api/webConfig/getPageConfig', params)
}
// 获取处理人
function getDealPersonList(params) {
  return get('/app/api/security/getDealPersonList', params)
}
// 设置处理人
function setDealPerson(params) {
  return post('/app/api/security/setDealPerson', params)
}
// 忽略
function ignoreAlarm(params) {
  return post('/app/api/security/ignoreAlarm', params)
}
// 获取录像
function getReplayUrlByEventId(params) {
  return get('/app/api/security/getReplayUrlByEventId', params)
}
// 获取设备类型列表
function getEquipmentCategoryList(params) {
  return get('/app/api/equipment/situation/getEquipmentCategoryList', params)
}
// 告警事件详情
function getAlarmDetails(params) {
  return get('/app/api/security/getAlarmDetails', params)
}
export {
  getAlarmEventStatus,
  getAlarmTrend,
  getAlarmEventTop5,
  getEventRegion,
  getAlarmEventList,
  getDisasterMonitoring,
  getDisasterMonitoringStatus,
  getMapData,
  getRegion,
  getDisasterMonitoringAlarm,
  getAlarmColumn,
  getSecurityPerson,
  getVideoList,
  getPageConfig,
  getDealPersonList,
  setDealPerson,
  getReplayUrlByEventId,
  getEquipmentCategoryList,
  getAlarmDetails,
  ignoreAlarm,
}
